package com.smart.platform.web.role_menu;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by 王成 on 2018/7/4.
 */
@Controller
@RequestMapping("/role")
public class RoleController {
    //角色列表页
    @RequestMapping("/roleList.html")
    public String role_menu() {
        return "role_menu/roleList";
    }
    //角色添加页
    @RequestMapping("/roleAdd.html")
    public String roleAdd() {
        return "role_menu/roleAdd";
    }
    //修改页
    @RequestMapping("/roleUpdata.html")
    public String roleUpdata(){
        return "role_menu/roleUpdata";
    }
    //设置菜单
    @RequestMapping("/roleMenu.html")
    public String roleMenu(){
        return "role_menu/roleMenu";
    }
}
